package com.jjb.www.http.api;

import com.hjq.http.annotation.HttpIgnore;
import com.hjq.http.config.IRequestApi;

import java.util.List;

/**
 * @author CRG
 * @date :2023/12/18 15:45
 * @description:
 */
public class CompleteDetailApi implements IRequestApi {
    @HttpIgnore
    private String id;

    public CompleteDetailApi setId(String id) {
        this.id = id;
        return this;
    }

    @Override
    public String getApi() {
        return "/api/teach/v2/cert/completeDetail/"+id;
    }
    public static class Bean{

        private InfoDTO info;
        private CourseLogListDTO course_log_list;
        private MechLogListDTO mech_log_list;
        private PromiseLogListDTO promise_log_list;

        public InfoDTO getInfo() {
            return info;
        }

        public void setInfo(InfoDTO info) {
            this.info = info;
        }

        public CourseLogListDTO getCourse_log_list() {
            return course_log_list;
        }

        public void setCourse_log_list(CourseLogListDTO course_log_list) {
            this.course_log_list = course_log_list;
        }

        public MechLogListDTO getMech_log_list() {
            return mech_log_list;
        }

        public void setMech_log_list(MechLogListDTO mech_log_list) {
            this.mech_log_list = mech_log_list;
        }

        public PromiseLogListDTO getPromise_log_list() {
            return promise_log_list;
        }

        public void setPromise_log_list(PromiseLogListDTO promise_log_list) {
            this.promise_log_list = promise_log_list;
        }

        public static class InfoDTO {
            private Integer id;
            private Integer user_id;
            private Integer certificate_id;
            private String post_name;
            private Integer expiry_date;
            private Integer delay_num;
            private Integer delay_date;
            private Integer get_score;
            private String complete_time;
            private Integer mech_id;
            private String name;
            private String long_id;
            private String id_card;
            private String cert_num;
            private String img;

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public Integer getUser_id() {
                return user_id;
            }

            public void setUser_id(Integer user_id) {
                this.user_id = user_id;
            }

            public Integer getCertificate_id() {
                return certificate_id;
            }

            public void setCertificate_id(Integer certificate_id) {
                this.certificate_id = certificate_id;
            }

            public String getPost_name() {
                return post_name;
            }

            public void setPost_name(String post_name) {
                this.post_name = post_name;
            }

            public Integer getExpiry_date() {
                return expiry_date;
            }

            public void setExpiry_date(Integer expiry_date) {
                this.expiry_date = expiry_date;
            }

            public Integer getDelay_num() {
                return delay_num;
            }

            public void setDelay_num(Integer delay_num) {
                this.delay_num = delay_num;
            }

            public Integer getDelay_date() {
                return delay_date;
            }

            public void setDelay_date(Integer delay_date) {
                this.delay_date = delay_date;
            }

            public Integer getGet_score() {
                return get_score;
            }

            public void setGet_score(Integer get_score) {
                this.get_score = get_score;
            }

            public String getComplete_time() {
                return complete_time;
            }

            public void setComplete_time(String complete_time) {
                this.complete_time = complete_time;
            }

            public Integer getMech_id() {
                return mech_id;
            }

            public void setMech_id(Integer mech_id) {
                this.mech_id = mech_id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getLong_id() {
                return long_id;
            }

            public void setLong_id(String long_id) {
                this.long_id = long_id;
            }

            public String getId_card() {
                return id_card;
            }

            public void setId_card(String id_card) {
                this.id_card = id_card;
            }

            public String getCert_num() {
                return cert_num;
            }

            public void setCert_num(String cert_num) {
                this.cert_num = cert_num;
            }

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }
        }

        public static class CourseLogListDTO {
            private String title;
            private String score;
            private List<ListDTO> list;

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getScore() {
                return score;
            }

            public void setScore(String score) {
                this.score = score;
            }

            public List<ListDTO> getList() {
                return list;
            }

            public void setList(List<ListDTO> list) {
                this.list = list;
            }

            public static class ListDTO {
                private String get_score;
                private Integer is_must;
                private String create_time;
                private String title;

                public String getGet_score() {
                    return get_score;
                }

                public void setGet_score(String get_score) {
                    this.get_score = get_score;
                }

                public Integer getIs_must() {
                    return is_must;
                }

                public void setIs_must(Integer is_must) {
                    this.is_must = is_must;
                }

                public String getCreate_time() {
                    return create_time;
                }

                public void setCreate_time(String create_time) {
                    this.create_time = create_time;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }
            }
        }

        public static class MechLogListDTO {
            private String score;
            private String title;
            private List<ListDTO> list;

            public String getScore() {
                return score;
            }

            public void setScore(String score) {
                this.score = score;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public List<ListDTO> getList() {
                return list;
            }

            public void setList(List<ListDTO> list) {
                this.list = list;
            }

            public static class ListDTO {
                private String get_score;
                private String create_time;
                private Integer type;

                public String getGet_score() {
                    return get_score;
                }

                public void setGet_score(String get_score) {
                    this.get_score = get_score;
                }

                public String getCreate_time() {
                    return create_time;
                }

                public void setCreate_time(String create_time) {
                    this.create_time = create_time;
                }

                public Integer getType() {
                    return type;
                }

                public void setType(Integer type) {
                    this.type = type;
                }
            }
        }

        public static class PromiseLogListDTO {
            private String score;
            private String title;
            private List<ListDTO> list;

            public String getScore() {
                return score;
            }

            public void setScore(String score) {
                this.score = score;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public List<ListDTO> getList() {
                return list;
            }

            public void setList(List<ListDTO> list) {
                this.list = list;
            }

            public static class ListDTO {
                private String content;
                private String get_score;
                private String create_time;
                private String img;
                private List<?> img_path;

                public String getContent() {
                    return content;
                }

                public void setContent(String content) {
                    this.content = content;
                }

                public String getGet_score() {
                    return get_score;
                }

                public void setGet_score(String get_score) {
                    this.get_score = get_score;
                }

                public String getCreate_time() {
                    return create_time;
                }

                public void setCreate_time(String create_time) {
                    this.create_time = create_time;
                }

                public String getImg() {
                    return img;
                }

                public void setImg(String img) {
                    this.img = img;
                }

                public List<?> getImg_path() {
                    return img_path;
                }

                public void setImg_path(List<?> img_path) {
                    this.img_path = img_path;
                }
            }
        }
    }

}
